package com.drawu.drawuspring.domain.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.drawu.drawuspring.domain.po.Users;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * <p>
 * 活动参与者记录表[5](@ref)
 * </p>
 *
 * @author hui
 * @since 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("participants")
@ApiModel(value="Participants对象", description="活动参与者记录表[5](@ref)")
public class ParticipantVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关联活动ID[3](@ref)")
    private Integer activityId;

    @ApiModelProperty(value = "参与者ID")
    private Integer userId;

    private LocalDateTime joinTime;

    private UserVO user;
}